/**
* @author afeng
* @Date 2025-03-17 10:50:13
* @description 员工权限组
*/
package com.monitor.model;

import com.monitor.pubInter.BaseTimeDoMain;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.Length;

public class AdminPermissionGroup extends BaseTimeDoMain {
    /**
     * 员工ID
     */
    @Length(max=32,message="员工ID长度最大值32")
    private String staffId;

    /**
     * 权限组ID
     */
    @Length(max=32,message="权限组ID长度最大值32")
    private String groupId;

    /**
     * 排序
     */
    private Integer sortNum = 0;

    /**
     * 是否显示
     * 1:是:Y,0:否:N
     */
    private Integer showFlag = 1;

    /**
     * 是否删除
     * 1:删除:Y,0:正常:N
     */
    private Integer delFlag = 0;

     /**
     *主键
     */
    public static final String ID = "admin_permission_group.apg_id";

     /**
     *创建时间
     */
    public static final String CREATE_TIME = "admin_permission_group.apg_create_time";

     /**
     *更新时间
     */
    public static final String UPDATE_TIME = "admin_permission_group.apg_update_time";

     /**
     *员工ID
     */
    public static final String STAFF_ID = "admin_permission_group.apg_staff_id";

     /**
     *权限组ID
     */
    public static final String GROUP_ID = "admin_permission_group.apg_group_id";

     /**
     *排序
     */
    public static final String SORT_NUM = "admin_permission_group.apg_sort_num";

     /**
     *是否显示
     */
    public static final String SHOW_FLAG = "admin_permission_group.apg_show_flag";

     /**
     *是否删除
     */
    public static final String DEL_FLAG = "admin_permission_group.apg_del_flag";

     /**
     *填充detail key
     */
    public static final String ADMIN_PERMISSION_GROUP_FULL_DETAIL_KEY = "ADMIN_PERMISSION_GROUP_FULL_DETAIL";

     /**
     *填充list key
     */
    public static final String ADMIN_PERMISSION_GROUP_FULL_LIST_KEY = "ADMIN_PERMISSION_GROUP_FULL_LIST";

    /**
     * 获取员工ID
     *
     * @return apg_staff_id - 员工ID
     */
    public String getStaffId() {
        return staffId;
    }

    /**
     * 设置员工ID
     *
     * @param staffId 员工ID
     */
    public AdminPermissionGroup setStaffId(String staffId) {
        this.staffId = staffId == null ? null : staffId.trim();
        return this;
    }

    /**
     * 获取权限组ID
     *
     * @return apg_group_id - 权限组ID
     */
    public String getGroupId() {
        return groupId;
    }

    /**
     * 设置权限组ID
     *
     * @param groupId 权限组ID
     */
    public AdminPermissionGroup setGroupId(String groupId) {
        this.groupId = groupId == null ? null : groupId.trim();
        return this;
    }

    /**
     * 获取排序
     *
     * @return apg_sort_num - 排序
     */
    public Integer getSortNum() {
        return sortNum;
    }

    /**
     * 设置排序
     *
     * @param sortNum 排序
     */
    public AdminPermissionGroup setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
        return this;
    }

    /**
     * 获取是否显示
     *
     * @return apg_show_flag - 是否显示
     */
    public Integer getShowFlag() {
        return showFlag;
    }

    /**
     * 设置是否显示
     * 1:是:Y,0:否:N
     *
     * @param showFlag 是否显示
     */
    public AdminPermissionGroup setShowFlag(Integer showFlag) {
        this.showFlag = showFlag;
        return this;
    }

    /**
     * 获取是否删除
     *
     * @return apg_del_flag - 是否删除
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置是否删除
     * 1:删除:Y,0:正常:N
     *
     * @param delFlag 是否删除
     */
    public AdminPermissionGroup setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }
}